﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace TinyPG
{
    public class Etape : Element
    {

        public List<Timer> _listTimer;
        private InOut _numEtape;
        private string _id;
        //public List<String> _listMot;

        public Etape(InOut NumEtape, bool IsInit, string Id)
        {
            _numEtape = NumEtape;   //new InOut("ETAPE",NumEtape.GetByte(),NumEtape.GetBit(),false);
            _isInit = IsInit;
            _listTimer = new List<Timer>();
            _id = Id;

            

        }
        public InOut GetNumEtape()
        {
            return _numEtape;
        }

        public void AddTimer(Timer T)
        {
            _listTimer.Add(T);
        }



        public string GetId()
        {
            return _id;
        }
    }
}
